<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
   .a1{
        width: 200px;
        height: 300px;
    }
    .a2{
        width: 200px;
        height: 120px;
        background-color:rgba(56, 50, 50, 0.3);
        color: #ffffff;
    }
    .a2 h3{
        padding-left: 10px;
    }
    .a2 a{
        padding-left: 10px;
    }
    img:hover{
        transition: 1s linear;
    }
</style>
<body>
    <div class="a1">
        <img src="../img/banner01.jpg">
        <div class="a2">
            <h3>文字标题</h3>
            <a>图片文字说明</a>
        </div>
    </div>
</body>
</html>